package day02test;

public class LongDemo {
    public static void main(String[] args) {
        //2. long 长整型，八个字节，-2^63~2^63-1
        long l = 100L;//100L
        //long a=10000000000;//编译错误，10^10默认为int类型，但是超出范围
        long b=10000000000L;

        long d=1000000000*2*10L;
        System.out.println(d);//20000000000
        long e=1000000000*3*10L;
        System.out.println(e);
        long f=1000000000L*3*10;
        System.out.println(f);//30000000000

    }
}
